package com.stormragetech.arthas.process.factory;

import com.stormragetech.arthas.common.exception.ArthasException;

/**
 * description: action factory interface
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
public interface ActionFactory {

    ActionWrapper<?> getWrapper(String path) throws ArthasException;

    Object getAction(String name) throws ArthasException;

    <T> T getAction(String name, Class<T> clazz) throws ArthasException;

    boolean containsAction(String name);

}
